package com.hq.bean;

public class Student {
    private Integer id;
    private String name;
    private String password;
    private Integer role;
    private String mark;

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", role=" + role +
                ", mark='" + mark + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public Student() {
    }

    public Student(Integer id, String name, String password, Integer role, String mark) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.role = role;
        this.mark = mark;
    }
}
